package org.jeecg.modules.job.sub.service;

import org.jeecg.modules.job.sub.entity.SubPhaseRecords;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 阶段答题记录
 * @Author: jeecg-boot
 * @Date:   2022-10-15
 * @Version: V1.0
 */
public interface ISubPhaseRecordsService extends IService<SubPhaseRecords> {

    /**
     * 查询答题结果
     * @param userId
     * @param phaseId
     * @return
     */
      SubPhaseRecords getPhaseRecord(String userId,String phaseId);

    /**
     * 生成答题结果
     * @param userId
     * @param phaseId
     * @return
     */
      boolean createPhaseRecord(String userId,String phaseId);


}
